package cn.weiyang.dao;

import cn.weiyang.model.Emp;

import java.util.List;

/**
 * 完成员工的增删改查操作
 * Created by Administrator on 2017/7/14.
 */
public interface EmpDao {
    public void addEmp(Emp emp);

    public void delEmp(int empid);

    public void updateEmp(Emp emp);

    public Emp get(int empid);

    public List<Emp> searchEmp(Emp emp);

    public List<Emp> searchEmp(String hql);
}
